﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace Model.ViewModel
{
    /// <summary>
    /// 登陆视图 模型
    /// </summary>
    public class LoginUser
    {
        [Required]
        public string LoginName { get; set; }
        [Required]
        public string Pwd { get; set; }
        public bool IsCookie { get; set; }
        [Required(ErrorMessage = "必须选择一个班次！")]
        public int shiftID { get; set; }
    }
    public class Shift
    {
        
        public int ShfitID { get; set; }
        public string ShfitName { get; set; }
        public readonly string RadioName = "Shfit";
    }
}
